<?php

/** This file is part of KCFinder project
 *
 *      @desc Base configuration file
 *   @package KCFinder
 *   @version 2.51
 *    @author Pavel Tzonkov <pavelc@users.sourceforge.net>
 * @copyright 2010, 2011 KCFinder Project
 *   @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2
 *   @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2
 *      @link http://kcfinder.sunhater.com
 */
// IMPORTANT!!! Do not remove uncommented settings in this file even if
// you are using session configuration.
// See http://kcfinder.sunhater.com/install for setting descriptions

$_CONFIG = array(
    'disabled' => true,
    'denyZipDownload' => true,
    'denyUpdateCheck' => true,
    'denyExtensionRename' => true,
    'theme' => "oxygen",
    'uploadURL' => "../../f",
    'uploadDir' => "",
    'dirPerms' => 0755,
    'filePerms' => 0644,
    'access' => array(
        'files' => array(
            'select' => true,
            'upload' => false,
            'delete' => false,
            'copy' => false,
            'move' => false,
            'rename' => false
        ),
        'dirs' => array(
            'create' => false,
            'delete' => false,
            'rename' => false
        )
    ),
    'deniedExts' => "exe com msi bat php phps phtml php3 php4 cgi pl tpl ch chm htm html xhtml",
    'types' => array(
	'images'    =>  "bmp gif jpeg jpg png swf flv avi",
        'mimages'   =>  "*mime image/gif image/png image/jpeg",
        'notimages' =>  "*mime ! image/gif image/png image/jpeg"
    ),
    'filenameChangeChars' => array(
        ' ' => "_",
        ':' => "."
    ),
    'dirnameChangeChars' => array(
        ' ' => "_",
        ':' => "."
    ),
    'mime_magic' => "",
    'maxImageWidth' => 1024,
    'maxImageHeight' => 0,
    'thumbWidth' => 90,
    'thumbHeight' => 90,
    'thumbsDir' => "../_thumbs",
    'jpegQuality' => 80,
    'cookieDomain' => "",
    'cookiePath' => "",
    'cookiePrefix' => 'KCFINDER_',
    // THE FOLLOWING SETTINGS CANNOT BE OVERRIDED WITH SESSION CONFIGURATION
    '_check4htaccess' => false,
    '_tinyMCEPath' => "../tiny_mce",
    '_sessionVar' => &$_SESSION['KCFINDER'],
        //'_sessionLifetime' => 30,
        '_sessionDir' => $_SERVER['DOCUMENT_ROOT'] . '/sessions',
        //'_sessionDomain' => "http://localhost/tinymce/",
        '_sessionPath' => $_SERVER['DOCUMENT_ROOT'] . '/sessions'
);
?>